package com.spring.service.impl;

import com.base.ServiceBase;
import com.spring.dao.CommentMapper;
import com.spring.entity.Comment;
import com.spring.service.CommentService;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.common.Mapper;

import javax.annotation.Resource;

@Service("CommentService")
public class CommentServiceImpl extends ServiceBase<Comment> implements CommentService {
    @Resource
    private CommentMapper dao;

    @Override
    protected CommentMapper getDao() {
        return dao;
    }
}

